package cn.ithers.blog.dao;

import cn.ithers.blog.pojo.Setting;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @Author: zhanghuan
 * @date: 2020/8/28 19:29
 * @description:
 */
public interface SettingDao extends JpaRepository<Setting,String>, JpaSpecificationExecutor<Setting> {

    Setting findOneByKey(String key);
}
